# Author: wangjk
# 2025年10月28日10时47分
# xxx@qq.com

nums = [i for i in range(1, 1_000_001)]
print(min(nums))
print(max(nums))
print(sum(nums))
